﻿class User(object):

    def __init__(self, username="", passw="", email=""):
        self.username=username
        self.passw=passw
        self.email=email

    @classmethod
    def Admin(cls):
        return cls(username='admin', passw='admin')

    @classmethod
    def random(cls):
        from random import randint
        return cls(username="user" + str(randint(0, 1000000)),
                   passw="pass" + str(randint(0, 1000000)),
                   email="user" + str(randint(0, 1000000)) + "@google.com")
